<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="row">
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Pt_order_id')}:</label>
                <div class="col-xs-12 col-sm-7">
                    <input id="c-pt_order_id" data-rule="required" data-source="pt/order/index" class="form-control selectpage" name="row[pt_order_id]" type="text" value="">
                </div>
            </div>
        </div>
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Order_no')}:</label>
                <div class="col-xs-12 col-sm-7">
                    <input id="c-order_no" data-rule="required" class="form-control" name="row[order_no]" type="text">
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4  ">{:__('User_name')}:</label>
                <div class="col-xs-12 col-sm-7">
                    <input id="c-user_name" data-rule="required" class="form-control" name="row[user_name]" type="text">
                </div>
            </div>
        </div>  
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Id_card')}:</label>
                <div class="col-xs-12 col-sm-7">
                    <input id="c-id_card" data-rule="required" class="form-control" name="row[id_card]" type="text">
                </div>
            </div>
        </div>
    </div>
   
    <div class="row">
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Agency_id')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-agency_id" data-rule="required" data-source="pt/agency/index" class="form-control selectpage" name="row[agency_id]" type="text" value="">
                    <input id="c-agency_name" data-rule="required" class="form-control" name="row[agency_name]" type="text">
                </div>
            </div>
        </div>
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('评审专业')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <div class="form-inline" data-toggle="cxselect" data-selects="series,major">
                        <select class="series form-control" name="row[series_id]" data-url="pt/major/major" data-value="{$row.series_id|default=''}"></select>
                        <select class="major form-control" name="row[major_id]" data-url="pt/major/major" data-query-name="series" data-value="{$row.major_id|default=''}"></select>
                        <input id="c-major_name"  class="form-control" name="row[major_name]" type="hidden" value="{$row.major_name|htmlentities}">
                        <input id="c-series_name"  class="form-control" name="row[series_name]" type="hidden" value="{$row.series_name|htmlentities}">
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <div class="row">
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('省市区')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <div class="form-inline" data-toggle="cxselect" data-selects="province,city,area">  
                        <select class="province form-control" name="row[province_id]" data-url="provinces/area" data-value="{$row.province_id|default='11'}"></select>
                        <select class="city form-control" name="row[city_id]" data-url="provinces/area" data-query-name="province" data-value="{$row.city_id|default=''}"></select>
                        <select class="area form-control" name="row[district_id]" data-url="provinces/area" data-query-name="city" data-value="{$row.district_id|default=''}"></select>
                        <input id="c-district_name"  class="form-control" name="row[district_name]" type="hidden" value="{$row.district_name|htmlentities}">
                    </div>
                    <input id="c-district_name" class="form-control" name="row[district_name]" type="text">
                </div>
            </div>
        </div>
     
    </div>
    
 
    
    <div class="row">
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Leader_id')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-leader_id" data-rule="required" data-source="pt/leader/index" class="form-control selectpage" 
                        placeholder="请输入组长姓名进行搜索"
                        data-field="nickname" 
                        data-search-field="nickname"
                        data-pagination="true"
                        data-format-item="{nickname}"
                        data-params="fields=id,nickname"
                        data-key-field="id"
                        data-value-field="nickname"
                        name="row[leader_id]" type="text" value="{$row.leader_id|default=''|htmlentities}">
                    <input id="c-leader_name"  name="row[leader_name]" type="hidden"  value="{$row.leader_name|default=''|htmlentities}">
                </div>
            </div>
        </div>
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Platform_id')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-platform_id" data-rule="required" data-source="platform/index" class="form-control selectpage" name="row[platform_id]" type="text" value="">
                    <input id="c-platform_name" class="form-control" name="row[platform_name]" type="text">
                </div>
            </div>
        </div>
    </div>
    
    
    <div class="row">
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('General_public_course_hour')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-general_public_course_hour" class="form-control" step="0.1" name="row[general_public_course_hour]" type="number">
                </div>
            </div>
        </div>
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Professional_public_course_hour')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-professional_public_course_hour" class="form-control" step="0.1" name="row[professional_public_course_hour]" type="number">
                </div>
            </div>
        </div>
    </div>
    
    <div class="row">
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Professional_course_hour')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-professional_course_hour" class="form-control" step="0.1" name="row[professional_course_hour]" type="number">
                </div>
            </div>
        </div>
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Total_course_hour')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-total_course_hour" class="form-control" name="row[total_course_hour]" type="number">
                </div>
            </div>
        </div>
    </div>
    
    <div class="row">
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Edu_order_status')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-edu_order_status" data-rule="required" class="form-control" name="row[edu_order_status]" type="number" value="1">
                </div>
            </div>
        </div>
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Price')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-price" data-rule="required" class="form-control" step="0.01" name="row[price]" type="number">
                </div>
            </div>
        </div>
    </div>
    
    <div class="row">
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Class_fee')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-class_fee" class="form-control" step="0.01" name="row[class_fee]" type="number">
                </div>
            </div>
        </div>
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Credit_fee')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-credit_fee" class="form-control" step="0.01" name="row[credit_fee]" type="number">
                </div>
            </div>
        </div>
    </div>
    
    <div class="row">
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Plan_fee')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-plan_fee" class="form-control" step="0.01" name="row[plan_fee]" type="number">
                </div>
            </div>
        </div>
        <div class="col-xs-6 col-sm-6 col-md-6">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-4">{:__('Remarks')}:</label>
                <div class="col-xs-12 col-sm-6">
                    <input id="c-remarks" class="form-control" name="row[remarks]" type="text">
                </div>
            </div>
        </div>
    </div>
 
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
